﻿@model UscSunShine.Models.Post

@{
    ViewBag.Title = "公告详情";
}

<div class="jumbotron">
    <div class="container">
        <center>
            <h2>@Model.Title</h2>
            <table class="detailTable font-detail">
                <tr>
                    <td>
                        <span>发布机构：</span>@Model.Department.Name
                        &nbsp;&nbsp;
                        <span>发布时间：</span>@Html.DisplayFor(model => model.InputDate)
                    </td>
                </tr>
                <tr>
                    <td colspan="2" width="100%">
                        @Html.TextAreaFor(m => m.Content)
                    </td>
                </tr>
                <tr>
                    @*<td>
                        @Html.ActionLink("查看所有公告", "Index", null, new { @class = "btn btn-default" })
                    </td>*@
                    <td colspan="2" style="text-align:right;">
                         <span>访问次数：</span>@Html.DisplayFor(model => model.ViewTimes)
                    </td>
                </tr>
            </table>
        </center>
    </div>
</div>
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
    <script type="text/javascript" src="~/KindEditor/kindeditor-min.js"></script>
    <script type="text/javascript" src="~/KindEditor/lang/zh_CN.js"></script>
    <script type="text/javascript" src="~/Scripts/usc-content-readonly.js"></script>
}